
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <title>序列编辑</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all">
  <link rel="stylesheet" th:href="@{/style/custom.css}" media="all">
</head>
<body>

  <div class="layui-form" lay-filter="seq-form-edit" id="seq-form-edit" style="padding: 20px 30px 0 0;">
    <input type="hidden" id="id" name="id" th:value="${seqInfo.id}"/>
    <div class="layui-form-item">
      <label class="layui-form-label">序列类型</label>
      <div class="layui-input-block">
        <input type="text" name="seqType" th:value="${seqInfo.seqType}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">类型描述</label>
      <div class="layui-input-block">
        <input type="text" name="seqDesc" th:value="${seqInfo.seqDesc}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">序列头</label>
      <div class="layui-input-block">
        <input type="text" name="seqHead" th:value="${seqInfo.seqHead}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">序列长度</label>
      <div class="layui-input-block">
        <input type="text" name="seqLength" th:value="${seqInfo.seqLength}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">当前序列号</label>
      <div class="layui-input-block">
        <input type="text" name="curSeqNo" th:value="${seqInfo.curSeqNo}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">最小值</label>
      <div class="layui-input-block">
        <input type="text" name="minValue" th:value="${seqInfo.minValue}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">最大值</label>
      <div class="layui-input-block">
        <input type="text" name="maxValue" th:value="${seqInfo.maxValue}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">状态</label>
      <div class="layui-input-block">
        <input type="radio" name="status" value="Y" title="启用" th:checked="${ seqInfo.status == null || seqInfo.status == 'Y'} ? true">
        <input type="radio" name="status" value="N" title="禁用" th:checked="${ seqInfo.status == 'N'} ? true">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">备注</label>
      <div class="layui-input-block">
        <textarea name="remark" placeholder="请输入内容" th:text="${ seqInfo.remark }" class="layui-textarea"></textarea>
      </div>
    </div>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-seq-front-submit" id="LAY-seq-front-submit" value="确认">
    </div>
  </div>

  <script th:src="@{/layui/layui.js}"></script>
  <script>

  </script>
</body>
</html>